#ifndef LEVEL_H
#define LEVEL_H

#include <iostream>
#include <string>
#include <SFML/Graphics.hpp>

class Level
{
    public:
        Level();
        Level(int, int);

        void create(int, int);
        void loadFromFile(std::string);

        unsigned char get(int, int);
        sf::Sprite* getSprite(int, int);

        int getWidth();
        int getHeight();

    protected:
        int w, h;
        unsigned char** data;
        unsigned char tileset, outTile;

        sf::Sprite** sprites;


};

#endif // LEVEL_H
